<?php /* Smarty version 2.6.16, created on 2008-06-12 06:31:12
         compiled from alogx.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'regex_replace', 'alogx.html', 44, false),array('modifier', 'truncatex', 'alogx.html', 62, false),)), $this); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>一篇日记</title>
</head>


<body style="font-size:12px;color:#238E23;text-align:center; margin:0px;" bgcolor="#CCCCCC" alink="#007FFF" vlink="#007FFF" link="#007FFF">
<div id="body__ox" style="width:700px;  margin-left:auto; margin-right:auto; font-size:12px;">
<div id="" style="width:700px; height:16px; text-align:right; float:left;"><a href="./index.html">首页</a>&nbsp;&nbsp;|&nbsp;&nbsp;</div>
<div id="head__ox" style="width:700px; float:left;"><h1 align="left">&nbsp;&nbsp;&nbsp;&nbsp;这是logo标题</h1></div>
<div id="zhengwen__ox" style="width:700px; float:left;">
	<div id="lanmu__ox" style="width:700px;float:left;text-align:left; border-bottom:#336699 1px solid;"><h3 style="margin-bottom:0px;">
		<h3><a href='./blogindex.php'>    日记   </a></h3>
	</div>
	<div id="duzi__ox" style="float:left; width:700px;">
	<div id="left__ox" style="width:500px; float:left;border-right:1px #336699 solid; text-align:left;">
	<table>
		<tr>
			<td align="left"><h1 style="margin-bottom:3px;margin-bottom:5px;"><?php echo $this->_tpl_vars['wantlog']['article_title']; ?>
</h1></td>
		</tr>
		<tr>
			<td align="left">发表于：<font color="#663366"><?php echo $this->_tpl_vars['wantlog']['article_mtime']; ?>
</font></td>
		</tr>
		<tr>
			<td align="right">&nbsp;</td>
		</tr>
		<tr>
			<td align="left"><?php echo $this->_tpl_vars['wantlog']['article_content']; ?>
</td>
		</tr>
		<tr>
			<td align="left">&nbsp;</td>
		</tr>
		<tr>
			<td align="left"><font size=+1><b>标签：</b></font><font color="#663366"><?php echo $this->_tpl_vars['wantlog']['article_tag']; ?>
</font></td>
		</tr>
		<tr>
			<td align="right"><a href="./mod.php?id=<?php echo $this->_tpl_vars['wantlog']['article_id']; ?>
">修改</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="./del.php?id=<?php echo $this->_tpl_vars['wantlog']['article_id']; ?>
">删除</a></td>
		</tr>
		<tr><td><hr noshade size="1" color="#007FFF" width="96%"/></td></tr>
		<?php $_from = $this->_tpl_vars['comments']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['arow']):
?>
		
		<tr><td align="left"><font color='#666666'><?php echo ((is_array($_tmp=$this->_tpl_vars['arow']['comment_uid'])) ? $this->_run_mod_handler('regex_replace', true, $_tmp, "/\..*\./", '.***.***.') : smarty_modifier_regex_replace($_tmp, "/\..*\./", '.***.***.')); ?>
</font>于<?php echo $this->_tpl_vars['arow']['comment_mtime']; ?>
评论说：</td></tr>
		<tr><td><?php echo $this->_tpl_vars['arow']['comment_content']; ?>
</td></tr>
		<tr><td><hr noshade size="1" color="#5f2f5f" width="96%"/></td></tr>
		<?php endforeach; endif; unset($_from); ?>
		<form action="./addcomment.php" method="post">
		<tr><td><textarea rows="3" cols="50" name="content"></textarea></td></tr>
		<tr><td align="center"><input type="submit" value="提交评论"><input type="hidden" value="<?php echo $this->_tpl_vars['wantlog']['article_id']; ?>
" name="aid"></td></tr>
		</form>
		</table>
	</div>
	<div id="right__ox" style="width:199px; float:left;border-bottom:1px #336699 solid;text-align:left;">
	<table>
		<tr><td>作者：<b><font size="+1" color="#FF9900"><?php echo $this->_tpl_vars['info']['name']; ?>
</font></b></td></tr>
		<tr><td>年龄:<?php echo $this->_tpl_vars['info']['age']; ?>
</td></tr>
		<tr><td>简介:<?php echo $this->_tpl_vars['info']['info']; ?>
</td></tr>
	</table>
	<ul>
	<?php $_from = $this->_tpl_vars['otherlogs']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['alog']):
?>
		<li><a href="./alog.php?id=<?php echo $this->_tpl_vars['alog']['article_id']; ?>
"><?php echo ((is_array($_tmp=$this->_tpl_vars['alog']['article_title'])) ? $this->_run_mod_handler('truncatex', true, $_tmp, 10) : smarty_modifier_truncatex($_tmp, 10)); ?>
</a></li>
	<?php endforeach; endif; unset($_from); ?>
	
	</ul>
	</div>
	</div>
</div>

</div>
</body>
</html>